home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5805 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: inforamp.net!ts26-13
  2. From: rmorin@inforamp.net (Randy Charles Morin)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Help with undefined symbol error
  5. Date: Tue, 06 Feb 96 22:29:55 GMT
  6. Organization: MiddleWorld SoftWare
  7. Message-ID: <4f8kf6$ffl@sam.inforamp.net>
  8. References: <1996Feb5.180731.15485@schbbs.mot.com>
  9. NNTP-Posting-Host: ts26-13.tor.inforamp.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <1996Feb5.180731.15485@schbbs.mot.com>, george_helm <ghelm> wrote:
  13. >I am using Borland c++ 3.1
  14. >I get an error "undefined symbol _MAIN" (upper case).
  15. >I change case sensitivity to non-sensitive.
  16. >I get an error "undefinded symbol _main" (lower case).
  17. >Does _MAIN and _main both exist somewhere or am I creating this condition
  18. >by toggling the case sensitivity and therefore chasing my tail ?
  19. >Have read the faq's and if it is there I missed it. 
  20. >Can someone please point me in the right direction.
  21. >Thanks
  22. >George Helm  
  23. >ghelm@mot1.phx.mcd.mot.com -or- qwuu93a@prodigy.com
  24. >
  25.  
  26. Your chasing your tail.
  27. I don't know how experienced you are with C,
  28. but you need to have a main(...) function in your program.
  29. If you don't, your linker throws up.
  30. Main is the entry point into your program.
  31.  
  32. Agrivar
  33.